﻿// -----------------------------------------------------------------------
// <copyright file=DmTonGiaoBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmTonGiaoBusiness
    {
        DmTonGiaoDataAccess objDa = null;

        public DmTonGiaoBusiness()
        {
            objDa = new DmTonGiaoDataAccess();
        }

        public bool InsertDmTonGiao(DmTonGiaoEntity obj)
        {
            return objDa.InsertDmTonGiao(obj);
        }

        public bool EditDmTonGiao(DmTonGiaoEntity obj)
        {
            return objDa.EditDmTonGiao(obj);
        }

        public bool DeleteDmTonGiao(string maTonGiao)
        {
            return objDa.DeleteDmTonGiao(maTonGiao);
        }

        public DmTonGiaoEntity GetDmTonGiao(string maTonGiao)
        {
            return objDa.GetDmTonGiao(maTonGiao);
        }

        public IList<DmTonGiaoEntity> GetDmTonGiaoList()
        {
            return objDa.GetDmTonGiaoList();
        }

    }
}